package com.ky.gp.app.service;

import com.ky.common.param.TousuAdd;
import com.ky.common.vo.R;
import com.ky.gp.app.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "gp-study-server", configuration = OpenFeignConfig.class)
public interface TousuFeign {
    @RequestMapping("/study/tousu/addTousu")
    R addTousu(@RequestBody TousuAdd tousuAdd);
}
